#include "stdafx.h"
#include "stdlib/datetimeformat.hpp"

namespace JHCPP
{
	namespace stdlib
	{
		const std::string CDateTimeFormat::ISO8601_FORMAT("%Y-%m-%dT%H:%M:%S%z");
		const std::string CDateTimeFormat::ISO8601_FRAC_FORMAT("%Y-%m-%dT%H:%M:%s%z");
		const std::string CDateTimeFormat::RFC822_FORMAT("%w, %e %b %y %H:%M:%S %Z");
		const std::string CDateTimeFormat::RFC1123_FORMAT("%w, %e %b %Y %H:%M:%S %Z");
		const std::string CDateTimeFormat::HTTP_FORMAT("%w, %d %b %Y %H:%M:%S %Z");
		const std::string CDateTimeFormat::RFC850_FORMAT("%W, %e-%b-%y %H:%M:%S %Z");
		const std::string CDateTimeFormat::RFC1036_FORMAT("%W, %e %b %y %H:%M:%S %Z");
		const std::string CDateTimeFormat::ASCTIME_FORMAT("%w %b %f %H:%M:%S %Y");
		const std::string CDateTimeFormat::SORTABLE_FORMAT("%Y-%m-%d %H:%M:%S");


		const std::string CDateTimeFormat::WEEKDAY_NAMES[] =
		{
			"Sunday",
			"Monday",
			"Tuesday",
			"Wednesday",
			"Thursday",
			"Friday",
			"Saturday"
		};

		const std::string CDateTimeFormat::MONTH_NAMES[] =
		{
			"January",
			"February",
			"March",
			"April",
			"May",
			"June",
			"July",
			"August",
			"September",
			"October",
			"November",
			"December"
		};
	}//end of namespace stdlib
}//end of namespace JHCPP
